Skip to content

Keep tables in place in a container above or left of the origin - #299

Open
eXpl0it3r wants to merge 1 commit into
masterfrom
fix/table-negative-location
Open

eXpl0it3r wants to merge 1 commit into
masterfrom
fix/table-negative-location

Conversation

@eXpl0it3r

Copy link
Copy Markdown
Collaborator

Description

A table in a container with a negative location, e.g. a list item drawn partially above the visible area, had its cells clamped to x and y 0, while the rest of the document moved with the container. The clamp exists so the -1 spacing of collapsed borders doesn't move the cells out of the container, as such it now clamps to the container's location instead of 0. For a container at the origin nothing changes, the image baselines are unchanged.

Closes #44

How to test this PR?

CI should succeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Location not working for negative values, gets pushed to 0

1 participant